package hbec.kettle.etl.common.plugin;

public class Result implements Cloneable {
	public long nrErrors;
	public long nrLinesInput;
	public long nrLinesOutput;
	public long nrLinesUpdated;
	public long nrLinesRead;
	public long nrLinesWritten;
	public long nrLinesDeleted;
	public long nrFilesRetrieved;
	public boolean result;
	public long entryNr;
	public int exitStatus;
	public boolean stopped;
	public long nrLinesRejected;
	public String logChannelId;
	public String logText;

	public Result() {
		nrErrors = 0L;
		nrLinesInput = 0L;
		nrLinesOutput = 0L;
		nrLinesUpdated = 0L;
		nrLinesRead = 0L;
		nrLinesWritten = 0L;
		result = false;
		exitStatus = 0;
		stopped = false;
		entryNr = 0;
	}

	@Override
	public Result clone() {
		try {
			Result result = (Result) super.clone();
			return result;
		} catch (CloneNotSupportedException e) {
			return null;
		}
	}
}
